package com.yxplearn.mybatisplus;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.yxplearn.mybatisplus.controller.ControllerTest;

/**
 * Hello world!
 *
 */
//@MapperScan("com.yxplearn.mybatisplus.mapper")
public class App {
	
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("spring-context-mybatis.xml");
		ControllerTest controllerTest = (ControllerTest)context.getBean("controllerTest");
		
//		controllerTest.testSelectList();
		
//		controllerTest.testSelectConfigList();
		
		controllerTest.testSelectTConfigList();
	}
}
